package com.owen.dao;

import com.owen.pojo.Vegetables;

import java.util.List;

public interface VegetablesDao {

    public List<Vegetables> findAll();

    public List<Vegetables> findByVe(Vegetables vegetables);

    public Vegetables findById(Integer id);

    public Integer addVegetables(Vegetables vegetables);

    public Integer deleteById(Integer id);

    public Integer update(Vegetables vegetables);

    public Integer deleteBatch(Integer[] ids);

}